﻿@model CNav.Model.AddressModel
<ol>
    <li>
        @Html.LabelFor(m => m.Address1)
        @Html.TextBoxFor(m => m.Address1)
        <br />
        @Html.ValidationMessageFor(m => m.Address1)
    </li>
    <li>
        @Html.LabelFor(m => m.Address2)
        @Html.TextBoxFor(m => m.Address2)
    </li>

    <li>
        @Html.LabelFor(m => m.City)
        @Html.TextBoxFor(m => m.City)
        <br />
        @Html.ValidationMessageFor(m => m.City)
    </li>
    <li>
        @Html.LabelFor(m => m.PostalCode)
        @Html.TextBoxFor(m => m.PostalCode)
        <br />
        @Html.ValidationMessageFor(m => m.PostalCode)
    </li>
    <li>
        @Html.LabelFor(m => m.CountryID)
        @Html.DropDownListFor(m => m.CountryID, new SelectList(Model.CountryList, "ID", "Name"))
    </li>
    <li>
        @Html.LabelFor(m => m.State)
        @Html.TextBoxFor(m => m.State)
        <br />
        @Html.ValidationMessageFor(m => m.State)
    </li>
</ol>